// 添加场景中的辅助控件
import { AxesHelper, GridHelper, SpotLightHelper } from 'three'
import { spotLight } from '@/components/Three//JS/Light.js'
//增加一个坐标轴
const axesHelper = new AxesHelper(500)
axesHelper.children.forEach((each) => {
  each.raycast = () => {}
})
//增加网格
const gridHeper = new GridHelper(100, 10, 'rgb(200,200,200)', 'rgb(100,100,100)')
gridHeper.raycast = () => {}

const lightHelper = new SpotLightHelper(spotLight)
lightHelper
export const HelperList = []
HelperList.push(axesHelper, gridHeper)
